from src.common.logger import getLogger

logger = getLogger()

def register_request_handlers(app):

    @app.before_request
    def before_request():
        logger.info("register_request_handlers before_request")

    @app.after_request
    def after_request(res):
        logger.info("register_request_handlers after_request")
        return res
